﻿

namespace BJYJ_Admin.Application.System.Dtos
{
    public class UserInfoInput : BasePageRequest
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public string USERNAME { get; set; }

        /// <summary>
        /// 真实姓名
        /// </summary>
        public string TRUENAME { get; set; }

        /// <summary>
        /// 区划代码
        /// </summary>
        public string AREANUMBER { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        public string PHONE { get; set; }

        /// <summary>
        /// 是否禁用,可空类型
        /// </summary>
        public int? ISENABLED { get; set; }

    }
    public class AddUserInput()
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string USERNAME { get; set; }
        /// <summary>
        /// 真实姓名
        /// </summary>
        public string TRUENAME { get; set; }

        /// <summary>
        /// 电话号码
        /// </summary>
        public string PHONE { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string EMAILE { get; set; }

        /// <summary>
        /// 监管级别
        /// </summary>
        public int? JGJB { get; set; }

        /// <summary>
        /// 区划代码
        /// </summary>
        public string AREANUMBER { get; set; }

        /// <summary>
        /// 是否启用0  启用 1禁用   
        /// </summary>
        public int? ISENABLED { get; set; }

        /// <summary>
        /// 用户类型
        /// </summary>
        public int? USER_TYPE { get; set; }

        /// <summary>
        /// 部门ID
        /// </summary>
        public int? DEPTID { get; set; }

        /// <summary>
        /// 角色IDs字符串
        /// </summary>
        public string roleids { get; set; }
    }

    /// <summary>
    /// 主键Dto
    /// </summary>
    public class UserIDDto() : BaseIdInput
    {

    }

    /// <summary>
    /// 修改密码的输入
    /// </summary>
    public class ResetPwdUserInput()
    {
        /// <summary>
        /// 用户类型
        /// </summary>
        public string OLD_PASSWD { get; set; }

        /// <summary>
        /// 部门ID
        /// </summary>
        public string NEW_PASSWD { get; set; }
    }

    /// <summary>
    /// 禁用登录输入参数
    /// </summary>

    public class UnIsEnabledLogin : BaseIdInput
    {
        /// <summary>
        /// 是否启用0  启用 1禁用
        /// </summary>
        public int ISENABLED { get; set; }
    }

    public class UserOutDto() : BaseIdInput
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string USERNAME { get; set; }
        /// <summary>
        /// 真实姓名
        /// </summary>
        public string TRUENAME { get; set; }


        /// <summary>
        /// 电话号码
        /// </summary>
        public string PHONE { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string EMAILE { get; set; }

        /// <summary>
        /// 监管级别
        /// </summary>
        public int? JGJB { get; set; }

        /// <summary>
        /// 区划代码
        /// </summary>
        public string AREANUMBER { get; set; }

        /// <summary>
        /// 是否启用0  启用 1禁用   
        /// </summary>
        public int? ISENABLED { get; set; }

        /// <summary>
        /// 用户类型
        /// </summary>
        public int? USER_TYPE { get; set; }

        /// <summary>
        /// 部门ID
        /// </summary>
        public int? DEPTID { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        public string DEPTNAME{ get; set; }

        /// <summary>
        /// 签名图片路径
        /// </summary>
        public string IMGURL { get; set; }

        /// <summary>
        /// 最后登录时间
        /// </summary>
        public DateTime? LASTLOGINDATE { get; set; }

        /// <summary>
        /// 外键ID
        /// </summary>
        public int? FKID { get; set; }

        /// <summary>
        /// 备  注:角色IDs
        /// </summary>
        public string ROLEIDS { get; set; }
    }
    public class UpdateUserInput() : BaseIdInput
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string USERNAME { get; set; }
        /// <summary>
        /// 真实姓名
        /// </summary>
        public string TRUENAME { get; set; }

        /// <summary>
        /// 电话号码
        /// </summary>
        public string PHONE { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string EMAILE { get; set; }

        /// <summary>
        /// 监管级别
        /// </summary>
        public int? JGJB { get; set; }

        /// <summary>
        /// 区划代码
        /// </summary>
        public string AREANUMBER { get; set; }

        /// <summary>
        /// 是否启用0  启用 1禁用   
        /// </summary>
        public int? ISENABLED { get; set; }

        /// <summary>
        /// 用户类型
        /// </summary>
        public int? USER_TYPE { get; set; }

        /// <summary>
        /// 部门ID
        /// </summary>
        public int? DEPTID { get; set; }

        /// <summary>
        /// 角色IDs字符串
        /// </summary>
        public string ROLEIDS { get; set; }

        /// <summary>
        /// 备  注:更新人
        /// 默认值:
        ///</summary>
        public string UPDATE_BY { get; set; }

        /// <summary>
        /// 备  注:更新时间
        /// 默认值:
        ///</summary>
        public DateTime? UPDATE_TIME { get; set; }
    }

}
